package com.example.malltest0.service;

import com.example.malltest0.common.api.CommonResult;
import com.example.malltest0.mbg.model.Platform;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

public interface PlatformService {


    int addPlatform(Platform platform);


    void updatePlatform(Platform platform);


    void deletePlatform(Long id);


    List<Platform> selectAllPlatform();

    Platform selectPlatformByName(String name);
}
